package com.bf.electroplating.pojo.dto.comEmergencyMaterialInventory;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import com.bf.electroplating.pojo.vo.PageVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class ComEmergencyMaterialInventoryDTO extends PageVO {

    private static final long serialVersionUID = 1L;

    @Schema( description ="ID")
    @TableId("ID")
    private String id;

    @Schema( description ="园区ID")
    @TableField("PARK_ID")
    private String parkId;

    @Schema( description ="企业ID")
    @TableField("COMPANY_ID")
    private String companyId;

    @Schema( description ="物资名称")
    @TableField("MATERIAL_NAME")
    private String materialName;

    @Schema( description ="物资类型")
    @TableField("MATERIAL_TYPE")
    private String materialType;

    @Schema( description ="规格型号")
    @TableField("SPECIFICATION_MODEL")
    private String specificationModel;

    @Schema( description ="数量")
    @TableField("QUANTITY")
    private String quantity;

    @Schema( description ="单位")
    @TableField("UNIT")
    private String unit;

    @Schema( description ="存放位置")
    @TableField("STORAGE_LOCATION")
    private String storageLocation;

    @Schema( description ="负责人")
    @TableField("RESPONSIBLE_PERSON")
    private String responsiblePerson;

    @Schema( description ="联系电话")
    @TableField("CONTACT_PHONE")
    private String contactPhone;

    @Schema( description ="有效期")
    @TableField("VALIDITY_PERIOD")
    private LocalDate validityPeriod;

    @Schema( description ="采购日期")
    @TableField("PURCHASE_DATE")
    private LocalDate purchaseDate;

    @Schema( description ="采购价格")
    @TableField("PURCHASE_PRICE")
    private BigDecimal purchasePrice;

    @Schema( description ="供应商")
    @TableField("SUPPLIER")
    private String supplier;

    @Schema( description ="状态(1-正常 0-停用)")
    @TableField("STATUS")
    private String status;

    @Schema( description ="备注")
    @TableField("REMARKS")
    private String remarks;

    @Schema( description ="创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @Schema( description ="创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @Schema( description ="修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @Schema( description ="修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @Schema( description ="逻辑删除")
    @TableField("DEL_FLAG")
    private String delFlag;
}
